package day3;

public class Change {
	
	public BrithData change1(BrithData b){
		b.setDay(22);
		return b;
	}
	
	public static void main(String[] args) {
		Change change = new Change();
		
		BrithData brithdata = new BrithData(1,1,2000);
		
		System.out.println(brithdata);
		
		brithdata = change.change1(brithdata);
		
		System.out.println(brithdata);
	}

}
